[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Extension File Edit Manual page 159
This command is used to create and maintain the extension
file, which associates programs with file extensions. This
feature allows you to point-and-shoot (move the cursor to a
file and press Enter, or double-click) on a file to load that
file into the application that created it.
Each line in the file consists of an extension, and the
command to run on files with that extension:
+---- Extension
|
| +---- Insert file name and extension
. .
doc: word /c !.!
+---------+
Command
tells the Commander to run Microsoft Word when you press
Enter on a file that ends in .doc (such as "somename.doc").
+-------------- Enter
So for: | Name | ----. "word /c somename.doc"
|somename doc|
Here are all the ! arguments that you can use in commands:
Argument What Example
-------- --------------------------- ------------
!.! File name with the extension filename.ext
! File name, without extension filename
!: The current drive letter A:
!\ The current page \PATH
!! Insert the `!' character !
Notes: If you want to execute more than one command, you
can create a batch file and use the batch file as
the command to execute.
You can have no more than 30 extensions in this
file.
You can use ":" to match any file without an
extension.
You can use DOS wildcard characters. So, for
example, "*:" will match any extension.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson